package com.tjvib.adapter;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.tjvib.R;
import com.tjvib.bean.ParamBean;

import java.util.List;

public class ParamAdapter extends BaseQuickAdapter<ParamBean, BaseViewHolder> {
    public ParamAdapter(int layoutResId) {
        super(layoutResId);
    }

    public ParamAdapter(int layoutResId, @Nullable List<ParamBean> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(@NonNull BaseViewHolder baseViewHolder, ParamBean paramBean) {
        baseViewHolder.setText(R.id.item_param_cb, paramBean.getName());
    }
}
